#!/usr/bin/python
numbers = [12, 37, 5, 42, 8, 3]
even = []
odd = []
while len(numbers) > 0 :
   number = numbers.pop()
   if ( number % 2 == 0):
       even.append(number)
       print "numbers = %s , even = %s"%(str(numbers),str(even))
   else:
       odd.append(number)
       print "numbers = %s , even = %s"%(str(numbers),str(even))

